package com.api.shopapi.service;

import com.api.shopapi.entity.DeviceQzXuetangyi;
import com.api.shopapi.entity.dto.DeviceQzXuetangyiDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface DeviceQzXuetangyiService {

    int insert(DeviceQzXuetangyi deviceQzXuetangyi);

    int update(DeviceQzXuetangyi deviceQzXuetangyi);

    DeviceQzXuetangyi getByUserCode(String userCode);

    DeviceQzXuetangyi getBySN(String SN);

    PageInfo<DeviceQzXuetangyiDTO> getPage(int pageIndex, int pageSize, String phone, String sn);
}
